package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnNel;
import com.tjmc.tiomscore.model.TranPtnNelExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnNelMapper {
    long countByExample(TranPtnNelExample example);

    int deleteByExample(TranPtnNelExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnNel record);

    int insertSelective(TranPtnNel record);

    List<TranPtnNel> selectByExample(TranPtnNelExample example);

    TranPtnNel selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnNel record, @Param("example") TranPtnNelExample example);

    int updateByExample(@Param("record") TranPtnNel record, @Param("example") TranPtnNelExample example);

    int updateByPrimaryKeySelective(TranPtnNel record);

    int updateByPrimaryKey(TranPtnNel record);
}